Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove: Child blocks from block manager #17128

Merged

Conversation

jorgefilipecosta
Copy link
Member

Description

Part of: #15121

This PR makes sure child blocks don't appear in the block manager, so we are consistent with the inserter currently they don't appear on the inserter by default.

How has this been tested?

I pasted the following code block in the browser console: https://gist.github.com/jorgefilipecosta/60a0bf242e8c7c18805618558268315d

I verified the Test Child block was not available in the block manager (on master it is).

@jorgefilipecosta jorgefilipecosta added [Type] Enhancement A suggestion for improvement. [Package] Edit Post /packages/edit-post labels Aug 21, 2019
@jorgefilipecosta jorgefilipecosta force-pushed the update/disable-child-blocks-from-block-manager branch from c39fcac to 3e49159 Compare August 22, 2019 10:39
Copy link
Contributor

@brentswisher brentswisher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this and it looks great to me. Tested with the example code you provided as well as installing the "Atomic Blocks" plugin and verified that child blocks from the plugin were hidden in the block manager.

@jorgefilipecosta jorgefilipecosta merged commit a491a79 into master Sep 5, 2019
@jorgefilipecosta jorgefilipecosta deleted the update/disable-child-blocks-from-block-manager branch September 5, 2019 07:36
@youknowriad youknowriad added this to the Gutenberg 6.5 milestone Sep 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Edit Post /packages/edit-post [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants